<html>

<head>
    <meta charset="UTF-8">
    <title>ECharts</title>
    <script src="echarts.min.js"></script>
</head>

<body>

    <div id="main" style="width:100%,height:400px;"></div>
    <script type="text/javascript">
        var myChart = echarts.init(document.getElementById('main'))
    </script>

</body>

</html>